﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ViewAuction.aspx.cs" Inherits="University.Workshop.WebApp.ViewAuction" %>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <div style='background-color:#4b6c9e;color:White; margin-bottom:20px; height:20px; text-align: center;'>
        Auction Information
        </div>
        <table align="center">
        <tr>
            <td class="style2">
            Product:
            </td>
            <td class="style3">
            <asp:TextBox ReadOnly=true ID="TbProductName" runat="server" Width="233px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
            Expiration date:
            </td>
            <td class="style3">
            <asp:TextBox ReadOnly=true ID="TbDate" runat="server" Width="233px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">Last bidder: </td>
            <td>
            <asp:TextBox ReadOnly=true ID="TbLastBidder" runat=server Width="233px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
            Last bid date:
            </td>
            <td class="style3">
            <asp:TextBox ReadOnly=true ID="TbLastBidDate" runat="server" Width="233px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                Last price offered:
            </td>
            <td>
            <asp:TextBox ReadOnly=true ID="TbLastPrice" runat=server Width="233px"></asp:TextBox>
            </td>
            <td>
            <asp:Label ID="lbCurrency" runat=server Text="">
            </asp:Label>
            </td>
         </tr>
        </table>
        <h3 align="right">
            <asp:Button ID="btnCancelAuction" runat=server Text="Cancel Auction" Enabled=false 
                onclick="btnCancelAuction_Click"/>
        </h3>

</asp:Content>
<asp:Content ID="Content3" runat="server" contentplaceholderid="HeadContent">
    <style type="text/css">
        .style2
        {
            width: 108px;
        }
        .style3
        {
            width: 240px;
        }
    </style>
</asp:Content>


